package com.hewanning.toy.play.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hewanning.toy.play.model.dto.LoginDto;
import com.hewanning.toy.play.model.entity.User;

import javax.servlet.http.HttpServletRequest;

/**
 * 用户定义的业务层接口
 *
 * @author robin_he
 * @date 2020/1/6
 */
public interface UserService extends IService<User> {

    Object login(LoginDto loginDto);

    Object saveUser(User user);

    void logout(HttpServletRequest request);
}
